package io.renren.modules.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_borrower")
public class BorrowerEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer borrowId;

    private String loanperiods;

     private Integer price;

     private String repaymentType;

    private String purpose;

    private Double annual;

    private Integer states;

    private Date createTime;

    private Date startTime;



    private Integer userId;
    private Integer productId;
    private Long infoId;




    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Integer total;
}
